<div class="page-title">

    <div class="title-env">
        <h1 class="title">修改配置信息</h1>
    </div>

    <div class="breadcrumb-env">

        <ol class="breadcrumb bc-1">
            <li>
                <a href="{:url('/')}"><i class="fa-home"></i>Home</a>
            </li>
            <li>

                <a href="{:url('todoConfig/index')}">config</a>
            </li>
            <li class="active">

                <strong>Update</strong>
            </li>
        </ol>

    </div>

</div>
<div class="panel panel-default">


    <div class="panel-body">

        <form role="form" id="form1" method="post" action="{:url('todoConfig/update')}" class="validate">

            <div class="form-group">
                <label class="control-label">名称</label>

                <input type="text" class="form-control" name="name" value="{$data.name}" placeholder="名称" />
            </div>

            <div class="form-group">
                <label class="control-label">配置码</label>

                <input type="text" class="form-control" name="title" value="{$data.title}" placeholder="配置码" />

            <div class="form-group">
                <label class="control-label">值</label>

                <textarea class="form-control" name="value" placeholder="配置项的值">{$data.value}</textarea>
            </div>



            <INPUT type="hidden" name="id" value="{$data.id}">

            <div class="form-group">
                <button type="submit" class="btn btn-success">提交</button>
                <button type="reset" class="btn btn-white">重置</button>
            </div>

        </form>

    </div>

</div>
<script>
    setTimeout("$('#alert').fadeOut(1000)",2000)
</script>